package com.xzy.fruitmall.mapper;
import com.xzy.fruitmall.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CustomerMapper {
    List<CustomerInfo> findAllCustomer();
    CustomerInfo LoginByAccount(String customerAccount,String customerPass);
    CustomerInfo LoginByTel(String customerTel,String customerPass);
    CustomerInfo LoginByYZM(String customerTel);
}
